
<template>
    <rx-dialog  @cancel="cancel" :showok="false">
        <rx-layout>
            <div slot="center">
                <a-form-model ref="form"  :model="mdl" :rules="rules" :label-col="labelCol" :wrapper-col="wrapperCol">
                    <a-form-model-item  :label="i18n('form.trackId','跟踪ID')" >
                        <span  v-html="mdl.traceId"></span>
                    </a-form-model-item>
                    <a-form-model-item  :label="i18n('form.appName','应用名称')" >
                        <span  v-html="mdl.appName"></span>
                    </a-form-model-item>
                    <a-form-model-item  :label="i18n('form.url_','访问地址')" >
                        <span  v-html="mdl.url"></span>

                    </a-form-model-item>
                    <a-form-model-item  :label="i18n('form.content','错误内容')" >
                        <a-textarea  v-model="mdl.content" style="height: 300px"/>
                    </a-form-model-item>
                </a-form-model>


            </div>
        </rx-layout>
    </rx-dialog>
</template>
<script>
    import SysErrorLogApi from '@/api/system/core/sysErrorLog'
    import {RxDialog,BaseFormModel} from "@lowcode/jpaas-common-lib";


    export default {
        name: 'SysErrorLogEdit',
        mixins:[BaseFormModel],
        components: {
            RxDialog,
        },
        data(){
            return {
            }
        },
        methods: {
            i18n(name,text,key){
                return this.$ti18(name,text,"SysErrorLog",key);
            },
            get(id){
                return SysErrorLogApi.get(id);
            }



        }
    }
</script>
<style>
    .relick a{
        margin-right: 10px;
    }

</style>
